<include file="Admin/Public/header" />
<div id="main-content">
	<!-- Main Content Section with everything -->
	<noscript>
		<!-- Show a notification if the user has disabled javascript -->
		<div class="notification error png_bg">
			<div>
				Javascript is disabled or is not supported by your browser. Please <a
					href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a>
				your browser or <a
					href="http://www.google.com/support/bin/answer.py?answer=23852"
					title="Enable Javascript in your browser">enable</a> Javascript to
				navigate the interface properly. Download From <a
					href="http://www.exet.tk">exet.tk</a>
			</div>
		</div>
	</noscript>
	<!-- Page Head -->
	<h2>Welcome</h2>
	<p id="page-intro">
	<h3>快捷菜单</h3>
	</p>
	<ul class="shortcut-buttons-set">
		<li><a class="shortcut-button"
			href="__APP__/Admin/Content/newcontent"><span> <img
					src="/Public/resources/images/icons/pencil_48.png" alt="icon" /><br />
					写一篇文章 </span> </a>
		</li>
		<li><a class="shortcut-button" href="__APP__/Admin/Category/newcategory"><span> <img
					src="/Public/resources/images/icons/paper_content_pencil_48.png"
					alt="icon" /><br /> 添加一个分类 </span> </a>
		</li>
		<li><a class="shortcut-button" href="__APP__/Admin/Channel/newchannel"><span> <img
					src="/Public/resources/images/icons/image_add_48.png"
					alt="icon" /><br /> 添加一个频道 </span> </a>
		</li>
	</ul>
	<!-- End .shortcut-buttons-set -->
	<div class="clear"></div>
	<!-- End .clear -->
	<div class="content-box">
		<!-- Start Content Box -->
		<div class="content-box-header">
			<h3>Content box</h3>
			<ul class="content-box-tabs">
				<!-- href must be unique and match the id of target div -->
				<li><a href="#tab2" class="default-tab">Forms</a>
				</li>
			</ul>
			<div class="clear"></div>
		</div>
		<!-- End .content-box-header -->
		<div class="content-box-content">
			<!-- End #tab1 -->
			<div class="tab-content default-tab" id="tab2">
				<form method="POST" action="__URL__/addchannel">
					<table>
						<tr>
							<td width="70">频道名:</td>
							<td><input type="text" name="channel_name">
							</td>
						</tr>
						<tr>
							<td>分类名:</td>
							<td><select id="dropdown" name="channel_category">
									<volist name="categories" id="category">
									<option value="{$category.category_id}">{$category.category_name}</option>
									</volist>
							</select></td>
						</tr>
						<tr>
							<td>频道描述:</td>
							<td><textarea name="channel_description"></textarea>
							</td>
						</tr>
						<tr>
							<td>首页显示:</td>
							<td><input type="radio" name="channel_index" value='1'>显示&nbsp;&nbsp;
								<input type="radio" name="channel_index" value='0'>不显示</td>
						</tr>
						<tr>
							<td>首页排序:</td>
							<td><input type="text" name="channel_sort">
							</td>
						</tr>
						<tr>
							<td>显示条数:</td>
							<td><input type="text" name="channel_index_count">
							</td>
						</tr>
						<!-- 导航栏的显示 -->
						<tr>
							<td>导航显示:</td>
							<td><input type="radio" name="channel_isnavi" value='1' checked="checked">显示&nbsp;&nbsp;
								<input type="radio" name="channel_isnavi" value='0'>不显示</td>
						</tr>
						<tr>
							<td>导航排序:</td>
							<td><input type="text" name="channel_navisort">
							</td>
						</tr>
						<!-- END导航栏的显示 -->
						<tr>
							<td>模型选择:</td>
							<td><select id="dropdown" name="channel_model">
									<option value='0'>图文混排</option>
									<option value='1'>视频文章</option>
									<option value='2'>图册模式</option>
							</select></td>
						</tr>
						<tr>
							<td>是否使用:</td>
							<td><input type="radio" name="channel_state" value='1'>使用&nbsp;&nbsp;
								<input type="radio" name="channel_state" value='0'>不使用&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>完成提交:</td>
							<td><input type="submit" name="submit" value="保存添加"
								class="button">
							</td>
						</tr>
					</table>
				</form>
			</div>
			<!-- End #tab2 -->
		</div>
		<!-- End .content-box-content -->
	</div>
	<div class="clear"></div>
	<div id="footer">
		<small> <!-- Remove this notice or replace it with whatever you want -->
			&#169; Copyright 2010 Your Company | Powered by <a
			href="http://www.865171.cn">admin templates</a> | <a href="#">Top</a>
		</small>
	</div>
	<!-- End #footer -->
</div>
<!-- End #main-content -->
</div>
</body>
</html>